package io;

import java.io.File;
import java.io.IOException;

import static javafx.scene.input.KeyCode.E;


public class IODemo1 {
    public static void main(String[] args) throws IOException {
        //File f=new File("E://数字图像处理//代码//Demo1/maomao.jpg");
        File f=new File("./maomao.jpg");
        System.out.println(f.getParent());
        System.out.println(f.getName());
        System.out.println(f.getPath());
        System.out.println(f.getAbsoluteFile());
        System.out.println(f.getCanonicalFile());
    }
}
